package org.gd.hellojaxb.jmeter;

import javax.xml.bind.annotation.*;
import java.util.ArrayList;
import java.util.List;

/**
 * @author Gorhover
 * @version 1.0-SNAPSHOT
 * @since 2013-10-11 17:24
 */
@XmlRootElement(name = "hashTree")
@XmlAccessorType(XmlAccessType.FIELD)
public class HashTree {

    @XmlElement(name = "TestPlan")
    private TestPlan testPlan;
    @XmlElement(name = "hashTree")
    private List<HashTree> hashTree;
    @XmlElement(name = "Arguments")
    private List<Arguments> arguments;

    public HashTree() {
        hashTree = new ArrayList<>();
        arguments = new ArrayList<>();
    }

    public TestPlan getTestPlan() {
        return testPlan;
    }

    public void setTestPlan(TestPlan testPlan) {
        this.testPlan = testPlan;
    }

    public List<HashTree> getHashTree() {
        return hashTree;
    }

    public void setHashTree(List<HashTree> hashTree) {
        this.hashTree = hashTree;
    }

    public List<Arguments> getArguments() {
        return arguments;
    }

    public void setArguments(List<Arguments> arguments) {
        this.arguments = arguments;
    }
}
